<!DOCTYPE html>
<html>

<head>

    {include file="Public/header"}
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
<!-- 标题 -->
<div class="page-heade">
    <h2 class="title_color text-center">流程设定</h2>
</div>
<!-- 标题 -->
<div>
    <form action="" class="form-inline">
        <table class="row-margin-top tab-content table-bordered table text-left" border="1">
            <tr>
                <td style="width:50%;"><label for="" class="form-label">流程名称：</label><input type="text" class="form-control" name="FLOWNAME" value="{$FLOWNAME}" ></td>
                <td>
                    <button class="btn btn-info btn-sm query" type="submit">查询</button>
                    <button class="btn btn-info btn-sm emptyIf" type="button">清空</button>
                </td>
            </tr>
        </table>

        <table class="table row-margin-top table-bordered text-center bud_hei">
            <tr class="info text-center">
                <th class="text-center">NO.</th>
                <th class="text-center">流程名称</th>
                <th class="text-center">流程类型</th>
                <th class="text-center">表单名称</th>
                <th class="text-center">流程设置</th>
            </tr>
            {volist name="data" id="row" key="k"}
            <tr>
                <td>{$k}</td>
                <td>{$row.FLOWNAME}</td>
                <td>{$row.TYPENAME}</td>
                <td>{$row.bdmc}</td>
                <td>
                    <a href="{:url('set',['id'=>$row.ID])}">设置</a>
                </td>
            </tr>
            {/volist}
        </table>
        <h5>
            {$page}
        </h5>
    </form>
</div>
<!-- 全局js -->
{include file="Public/footer"}
<!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<!--统计代码，可删除-->
<script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
<script>

    $(function () {
        $(".emptyIf").click(function () {
            $(this).closest('form').find('input[type=text]').val('')
            $(this).closest('form').find('select').val('')
            $(this).closest('form').submit()
        })
    })
</script>
</body>

</html>
